﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class CubUpdateFrame : MonoBehaviour
{
        [Header("帧数限制")]
        [Tooltip("在质量设置里关闭帧同步后生效")]
        public int targetFrameRate = 17217;

        public bool isUser;

        void Awake()
        {
                if (isUser)
                {
                        Application.targetFrameRate = this.targetFrameRate;
                }
        }
}
